<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

    <title>{:C('WEB_TITLE')}</title>

    <link href="__STATIC__/iconfont/css/iconfont.css" rel="stylesheet">
    <link href="__STATIC__/admin/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/index/css/style.css"/>

    {block name='css'}{/block}
</head>
{block name="body"}
<body>

<div class="main">
    <!--  顶部菜单  -->
    {include file="public:top" /}

    <!--  左侧菜单  -->
    <div class="left-box" style="width: {:Request()->action(true) != 'index' ? '240px' : ''}">
        <div class="lb-title">
            <img src="{:doIcon()}"/>
            <span>{$position_title}</span>
            <div class="divclear"></div>
        </div>
        {block name="left_nav"}{/block}
    </div>

    <!--  主体内容  -->
    {block name="main"}{/block}

    <div class="divclear"></div>
</div>

</body>
{/block}

<script src="__STATIC__/jquery/jquery-3.1.1.min.js"></script>
<script src="__STATIC__/layer/layer.js"></script>
<script src="__PLUG__/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/index/js/common.js"></script>
{block name='js'}
{/block}

</html>